package com.ruoyi.project.manhua.climb.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 漫画爬虫对象 mh_climb
 *
 * @author yuan
 * @date 2021-02-10
 */
public class MhClimb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 漫画id */
    @Excel(name = "漫画id")
    private Long nameId;

    /** 用哪个网站爬取 */
    @Excel(name = "用哪个网站爬取")
    private String webType;

    /** 爬取的网页地址 */
    @Excel(name = "爬取的网页地址")
    private String webUrl;

    /** 1使用自身连接 2使用其他连接 */
    @Excel(name = "1使用自身连接 2使用其他连接")
    private String network;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public MhClimb() {
    }

    public String getNetwork() {
        return network;
    }

    public void setNetwork(String network) {
        this.network = network;
    }

    public MhClimb(String delFlag) {
        this.delFlag = delFlag;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNameId(Long nameId)
    {
        this.nameId = nameId;
    }

    public Long getNameId()
    {
        return nameId;
    }
    public void setWebType(String webType)
    {
        this.webType = webType;
    }

    public String getWebType()
    {
        return webType;
    }
    public void setWebUrl(String webUrl)
    {
        this.webUrl = webUrl;
    }

    public String getWebUrl()
    {
        return webUrl;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("nameId", getNameId())
                .append("webType", getWebType())
                .append("network", getNetwork())
                .append("webUrl", getWebUrl())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
